<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>文章列表--layui后台管理模板 2.0</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css" media="all" />
</head>

<!--             {field: 'password', title: '密码', minWidth:100, align:"center"},
            {field: 'gold', title: '金币', minWidth:100, align:"center"},
            {field: 'diamond', title: '钻石', minWidth:100, align:"center"},
            {field: 'online', title: '在线', minWidth:100, align:"center", templet:function(d){
                if(d.online=="1"){
                    return "是";
                }
                return "否";
            }},
            {field: 'nickname', title: '别名', minWidth:100, align:"center"},
            {field: 'register_ip', title: '注册ip', minWidth:100, align:"center"},
            {field: 'register_addr', title: '注册地址', minWidth:100, align:"center"},
            {field: 'register_time', title: '注册时间', minWidth:100, align:"center"},
            {field: 'login_ip', title: '登录ip', minWidth:100, align:"center"},
            {field: 'login_addr', title: '登录地址', minWidth:100, align:"center"},
            {field: 'login_time', title: '登录时间', minWidth:100, align:"center"},

            {field: 'user_type', title: '用户类型', minWidth:100, align:"center"},
            {field: 'status', title: '状态', minWidth:100, align:"center"},
            {field: 'level_id', title: '等级', minWidth:100, align:"center"},
            {field: 'face_id', title: '头像id', minWidth:100, align:"center"},
            {field: 'device_type', title: '设备类型', minWidth:100, align:"center"},
            {field: 'integral', title: '积分', minWidth:100, align:"center"},
            {field: 'position', title: '位置', minWidth:100, align:"center"},
            {field: 'mobile', title: '手机号', minWidth:100, align:"center"},
 -->
<body class="childrenBody">
<form class="layui-form" style="width:80%;">


	<div class="layui-form-item layui-col-md4 layui-col-xs12">
		<label class="layui-form-label">用户名</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input user_name" lay-verify="required" placeholder="请输入登录名">
		</div>
	</div>
	<div class="layui-form-item layui-col-md4 layui-col-xs12">
		<label class="layui-form-label">密码</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input password" lay-verify="required" placeholder="请输入密码" value="123456" >
		</div>
	</div>
	<div class="layui-form-item layui-col-md4 layui-col-xs12">
		<label class="layui-form-label">金币</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input gold" lay-verify="number" placeholder="" value="1000" >
		</div>
	</div>
	<div class="layui-form-item layui-col-md4 layui-col-xs12">
		<label class="layui-form-label">钻石</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input diamond" lay-verify="number" placeholder="" value="1000" >
		</div>
	</div>	

	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm btn-add-user" lay-submit="" lay-filter="add_user">立即添加</button>
			<button class="layui-btn layui-btn-sm btn-change-user" lay-submit="" lay-filter="change_user" style="display: none;">立即修改</button>
			<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="userAdd.js"></script>
</body>
</html>